package org.eiahe.hr.performance.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.performance.domain.PerformanceLevel;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 绩效等级业务对象
 *
 * @author zhangnn
 */
@Data
@AutoMapper(target = PerformanceLevel.class, reverseConvertGenerate = false)
public class PerformanceLevelBo {

    /**
     * 等级ID
     */
    private Long levelId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 等级名称
     */
    @NotBlank(message = "等级名称不能为空")
    private String levelName;

    /**
     * 最低得分
     */
    @NotNull(message = "最低得分不能为空")
    private BigDecimal minScore;

    /**
     * 最高得分
     */
    @NotNull(message = "最高得分不能为空")
    private BigDecimal maxScore;

    /**
     * 等级说明
     */
    private String levelDesc;

    /**
     * 排序
     */
    private Integer sortOrder;

    /**
     * 状态(0正常 1停用)
     */
    private String status;

    /**
     * 备注
     */
    private String remark;
}